/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package etherblocks.game.entitysystem.components;

import com.jme3.math.Vector3f;
import com.jme3.network.serializing.Serializable;

/**
 *
 * @author Carl
 */
@Serializable
public class RotationComponent{

    public RotationComponent(){
        
    }

    public RotationComponent(Vector3f viewDirection, long timestamp){
        this.viewDirection = viewDirection;
        this.timestamp = timestamp;
    }
    private Vector3f viewDirection;
    private long timestamp;

    public Vector3f getViewDirection(){
        return viewDirection;
    }

    public long getTimestamp(){
        return timestamp;
    }
}
